package com.fs.service;

import com.fs.service.bo.customer.BoCustomer;
import com.fs.service.bo.friend.BoFriendWithCustomer;
import com.fs.service.bo.friend.QueryFriendParam;
import com.fs.service.bo.purchase.BoPurchase;
import com.fs.service.bo.purchase.BoPurchaseWithRoomAndCustomer;
import com.fs.service.bo.purchase.BoQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Mapper
public interface QueryUtil {
    List<BoPurchaseWithRoomAndCustomer> queryPurchase(BoQueryParam param);

    List<BoFriendWithCustomer> queryFriend(QueryFriendParam param);

    List<BoCustomer> findCustomerByFriend(String friendPhone);
}
